package com.axzhengxin.platform.business.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 放款信息对象 biz_loan_info
 *
 * @author axzhengxin
 * @date 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizLoanInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 放款记录id
     */
    private String loanId;

    /**
     * 申请记录id
     */
    @Excel(name = "申请记录id")
    private String applyId;

    /**
     * 授信记录id
     */
    @Excel(name = "授信记录id")
    private String approveId;

    /**
     * 放款合同号
     */
    @Excel(name = "放款合同号")
    private String loanContractNo;

    /**
     * 客户编号
     */
    @Excel(name = "客户编号")
    private String customerId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String customerName;

    /**
     * 放款金额
     */
    @Excel(name = "放款金额")
    private BigDecimal loanAmount;

    /**
     * 担保方式
     */
    @Excel(name = "担保方式")
    private String guaranteeType;

    /**
     * 贷款利率
     */
    @Excel(name = "贷款利率")
    private BigDecimal loanRatio;

    /**
     * 贷款起始日（yyyy-mm-dd）
     */
    @Excel(name = "贷款起始日", readConverterExp = "yyyy-mm-dd")
    private String loanStart;

    /**
     * 贷款到期日（yyyy-mm-dd）
     */
    @Excel(name = "贷款到期日", readConverterExp = "yyyy-mm-dd")
    private String loanEnd;

    /**
     * 对应流程ID
     */
    private String flowUid;

    /**
     * 担保方式名称
     */
    private String guaranteeTypeName;

    /**
     * 未归还金额
     */
    private BigDecimal unRepaymentAmount;
}